{% for item in [1,2] %}{% block item %}{{ item }}{% endblock %}{% endfor %}